package com.glela.platform.vo;

import com.glela.platform.model.UserAddress;

public class UserAddressVo {
	private Long userAddressId;
	private Long userId; // 用户id
	private String linkMan; // 联系人
	private String mobile; // 手机号码
	private String province; // 省份
	private String city; // 城市
	private String area; // 区县
	private String street; // 街道
	private String address; // 详细地址
	private int isDefault; // 是否为默认1默认0不；
	private String IdNumber; // 身份证号
//	private int code;// 验证结果
//	private String message;// 验证结果
	private int verifyNumber;// 剩余验证次数

	public int getVerifyNumber() {
		return verifyNumber;
	}

	public void setVerifyNumber(int verifyNumber) {
		this.verifyNumber = verifyNumber;
	}

	public Long getUserAddressId() {
		return userAddressId;
	}

	public void setUserAddressId(Long userAddressId) {
		this.userAddressId = userAddressId;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getLinkMan() {
		return linkMan;
	}

	public void setLinkMan(String linkMan) {
		this.linkMan = linkMan;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getStreet() {
		return street;
	}

	public void setStreet(String street) {
		this.street = street;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public int getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(int isDefault) {
		this.isDefault = isDefault;
	}

	public UserAddressVo() {
	}

	public UserAddressVo(UserAddress userAddress) {
		super();
		setUserAddressVo(userAddress);
	}

	public String getIdNumber() {
		return IdNumber;
	}

	public void setIdNumber(String idNumber) {
		IdNumber = idNumber;
	}

	/*public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}*/

	public void setUserAddressVo(UserAddress userAddress) {
		this.userAddressId = userAddress.getId();
		this.userId = userAddress.getUserId();
		this.linkMan = userAddress.getLinkMan();
		this.mobile = userAddress.getMobile();
		this.province = userAddress.getProvince();
		this.city = userAddress.getCity();
		this.area = userAddress.getArea();
		this.street = userAddress.getStreet();
		this.address = userAddress.getAddress();
		this.isDefault = userAddress.getIsDefault();
		this.IdNumber = userAddress.getIdNumber();
		/*this.code = userAddress.getCode();
		this.message = userAddress.getMessage();*/
		this.verifyNumber = userAddress.getVerifyNumber();
	}

}
